package com.yongbao.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yongbao.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("dish_specification")
public class DishSpecificationDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 菜品id */
    @TableField("dish_id")
    private Long dishId;
    /** 规格名称 */
    @TableField("spec_name")
    private String specName;
    /** 规格图片 */
    @TableField("sepc_img")
    private String sepcImg;
    /** 适用人数 */
    @TableField("available_persons")
    private Integer availablePersons;
    /** 售卖价格 */
    @TableField("sell_price")
    private BigDecimal sellPrice;
}
